//
//  AccountView.h
//  EPTool
//
//  Created by guoshiqing on 2018/4/15.
//  Copyright © 2018年 云数动能科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BottomTopLineView.h"
#import "AreaCodeView.h"

typedef void(^BtnClearBlock)(void);
typedef void(^TextFieldBecomeBlock)(NSInteger length, NSString *strMobile, NSString *strAreaCode);
typedef void(^AreaCodeChangeBlock)(NSString *strAreaCode, NSString *strMobile);

@interface AccountView : BottomTopLineView

- (NSString *)getAccount;
- (NSString *)getAreaCode;

- (instancetype)initWithFrame:(CGRect)frame andAreaCode:(NSString *)strAreaCode andMobile:(NSString *)strMobile;


@property (nonatomic, copy) UIColor *textColor;
@property (nonatomic, copy) BtnClearBlock btnClearBlock;
@property (nonatomic, copy) TextFieldBecomeBlock txfBecomeBlock;
@property (nonatomic, copy) AreaCodeChangeBlock areaCodeChangeBlock; 

@end
